# create by afterloe
# version is 1.0
# modify time: 2022-1-26
# MIT License

.PHONY: build, dist, edge, pakcage, clean

PATH := ~/.local/bin:$(PATH)
SHELL := /bin/sh
WORKDIR = $(shell pwd)
PROJECT_NAME := leechbox_gis
VERSION = $(shell cat main.go | grep appVersion | awk -F \" 'NR==1{print $$2}')

.ONESHELL:
compile:
	docker build -t leechbox/gis:$(VERSION) .